package com.f39.demo;

/**
 * @author LQWQK
 * @version 1.0
 * @since 2024-05-17 16:08:48
 */
public class Worker {
    private String wid;
    private String wname;
    private Integer age;
    private String sex;

    public void sport(){
        System.out.println("sport!");
        System.out.println("运动哈啊哈!");
    }

    public void walk(){
        System.out.println("散步!");
    }
    @Override
    public String toString() {
        return "Worker{" +
                "wid='" + wid + '\'' +
                ", wname='" + wname + '\'' +
                ", age=" + age +
                ", sex='" + sex + '\'' +
                '}';
    }

    public void working(){
        System.out.println("努力工作!");
        System.out.println("踏实工作!");
    }
}
